#!/bin/bash
echo $1 $2 $3 $4
n=$2
for i in $(seq 1 $1)
do
	echo "size: $n"
	./test $4 $n | grep time | ./averagetime
	n=$((n+$3))
done
